package com.kun.valiant.channel.domain.vo;

import com.kun.valiant.common.core.domain.BaseEntity;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author fangkun
 * @create 2023-06-01-16:13
 */
public class ChannelVO extends BaseEntity {

    private Long channelId;

    @NotBlank(message = "{channel.name.notBlank}")
    private String channelName;

    @NotNull(message = "渠道状态不能为空")
    private Integer status;

    private String remark;

    @NotNull(message = "渠道类型不能为空")
    private Integer type;

    private Integer delFlag;


    public Long getChannelId() {
        return channelId;
    }

    public void setChannelId(Long channelId) {
        this.channelId = channelId;
    }

    public String getChannelName() {
        return channelName;
    }

    public void setChannelName(String channelName) {
        this.channelName = channelName;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }
}
